home *** CD-ROM | disk | FTP | other *** search
- /*
- File: CompDefs.h
-
- Contains: Defines for compiling OpenDoc parts.
-
- Written by: Steve Smith
-
- Copyright: © 1994-1995 by Apple Computer, Inc., all rights reserved.
- */
-
- #ifndef _COMPILERDEFS_
- #define _COMPILERDEFS_
-
- // Just before you are ready to ship, uncomment the line below.
- // Doing so will remove all the SampleCode_SamplePartMethodDebug()
- // lines from the generated code.
- // Note: The _RETAIL switch can be found in somcdev.h
- //#define _RETAIL
-
- // Enabling switches in Textension interfaces.
- #ifndef txtnRulers
- #define txtnRulers
- #define txtnMultiFrames
- #endif
-
- // We should no longer be using the "old" routine names/structs.
- #ifndef OLDROUTINENAMES
- #define OLDROUTINENAMES 0
- #endif
- #ifndef OLDROUTINELOCATIONS
- #define OLDROUTINELOCATIONS 0
- #endif
-
- // Some public headers #ifdef out structs not useful to other platforms.
- #ifndef _PLATFORM_MACINTOSH_
- #define _PLATFORM_MACINTOSH_ 1
- #endif
-
- // If you use the STDTypIO utility, you must define the platforms
- // endian-ness.
- #ifndef _PLATFORM_BIG_ENDIAN_
- #define _PLATFORM_BIG_ENDIAN_ 1
- #endif
-
- #ifdef _RETAIL
- // Must be defined because we are using Except.cpp & ODDebug.cpp.
- #ifndef ODDebug
- #define ODDebug 0
- #endif
-
- #pragma error "Why isn't this working???"
- #else
- // Must be defined because we are using Except.cpp & ODDebug.cpp.
- #ifndef ODDebug
- #define ODDebug 1
- #endif
-
- #pragma traceback on
- #endif
-
-
- #endif